package com.csu.soa_library.service;

import com.csu.soa_library.entity.Book;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author YiGongLily
 * @version V1.0
 * Copyright (c) 2024, bie blind copy all thing fine.
 * @ProjectName:soa_library
 * @Title: BookService
 * @Package com.csu.soa_library.service
 * @Description: bookservice
 * @date 2024/11/25 22:53
 */

public interface BookService {
    void addBook(Book book);
    void deleteBook(int bookId);
    void updateBook(Book book);
    Page<Book> getBookList(int pageNum, int pageSize);
    Book getBookById(int bookId);
}
